package com.cnpc.bds.sdk.sink.kafka.meta;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * kafka-topic元信息.
 */
@Data
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
@NoArgsConstructor
@AllArgsConstructor
public class TopicMeta {

    /**
     * 元信息标识.
     */
    @EqualsAndHashCode.Include
    private String id;
    /**
     * topic-name.
     */
    private String topic;
    /**
     * kafka-brokers连接地址.
     */
    private String brokers;

}
